﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using BOHVote.DAL;

namespace BOHVote.BLL
{
    public static  class PrintContextClass
    {
        public static DataSet dstgetPrintContextByIDAndType(string PrintID, string PrintType)
        {
            PrintContextProvide pcp = new PrintContextProvide();
            return pcp.dstPrintContext(PrintID, "", "", "A", PrintType);
        }

        public static int UpdatePrintInteview(string PrintContextID, string printContext)
        {
            PrintContextProvide pcp = new PrintContextProvide();
            return pcp.UpdatePrintContext(PrintContextID, "", printContext.Replace("'","''"), "A", "InterviewNotify");
        }
    }
}
